projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbbbc86
)
common/image.c: Fix regression with ramdisk load/entry points in FIT
author
Stefano Babic
<
[email protected]
>
Fri, 12 Jul 2013 13:09:23 +0000
(15:09 +0200)
committer
Tom Rini
<
[email protected]
>
Fri, 12 Jul 2013 19:04:43 +0000
(15:04 -0400)
A FIT image with a ramdisk that sets the entry or load points to 0x0
must be treated as meaning "leave in place" and NOT "relocate to 0x0".
This regression was introduced in
a51ec63
.
Signed-off-by: Stefano Babic <
[email protected]
>
common/image.c
patch
|
blob
|
history
diff --git
a/common/image.c
b/common/image.c
index 327006e5aa1e51035adb37f114e20faf143261cd..f5ad0978d62a10ad4dd3017616cc8b9117279a82 100644
(file)
--- a/
common/image.c
+++ b/
common/image.c
@@
-910,7
+910,7
@@
int boot_get_ramdisk(int argc, char * const argv[], bootm_headers_t *images,
&fit_uname_config, arch,
IH_TYPE_RAMDISK,
BOOTSTAGE_ID_FIT_RD_START,
- FIT_LOAD_
REQUI
RED, &rd_data, &rd_len);
+ FIT_LOAD_
IGNO
RED, &rd_data, &rd_len);
if (rd_noffset < 0)
return 1;